import React from 'react'

import Aaa from './Aaa'
import {Route, Link } from 'react-router-dom'
class About extends React.Component {
    render () {
        return (
            <div>
                关于我们
                <ul>
                    <li>
                        <Link to={`${this.props.match.url}/rendering`}>react渲染</Link>
                    </li>
                    <li>
                        <Link to={`${this.props.match.url}/our-team`}>我们的团队</Link>
                    </li>
                </ul>
                <Route  path= {`${this.props.match.url}/:topicId`}  component = {Aaa} />
                <Route exact path={this.props.match.url} render={() => (<h3>请选择一个主题。</h3>)}/>
            </div>
        )
    }
}

export default About